package string;

public class CharAtDemo {
    public static void main(String[] args) {

    /*
    返回当前字符串获取单个字符对应下标的元素
     */
        String q = "love in the dark" ;
        char c = q.charAt(5);
        System.out.println(c);
        System.out.println(3+12+2);
    }
}